import requests from './request'
// 根据演出计划id获取座位
export const getTicketsByPId = (pId) => requests({ url: '/ticket/getTicketsByPId/' + pId, method: 'post' })

// 根据演出计划id和票id锁定票
export const lockTicket = (data, pId) => requests({ url: '/LockTicket/' + pId, data: data, method: 'post' })

// 根据演出计划id和票id解锁票
export const unLockTicket = (data, pId) => requests({ url: '/UnLockTicket/' + pId, data: data, method: 'post' })
